package 第九周;

public class EatableTest {
    public static void main(String[] args) {
     Eatable[] people = new Eatable[]{
     new Chinese(),
             new American(),
             new Indian()
     };
    for (Eatable person:people){
        person.eat();
        }
    }
}